Class NotificationSDKClientErrorCodes
- java.lang.Object
-
- com.vasco.digipass.sdk.utils.notification.client.constants.NotificationSDKClientErrorCodes
-
public class NotificationSDKClientErrorCodes extends java.lang.ObjectThis class provides the error codes managed by the Notification SDK.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONTEXT_NULLThe context parameter is null.static intFCM_GENERATE_TOKEN_ERRORThere is an error if FCM is not able to generate a token.static intFCM_GET_INSTANCE_ERRORThere is an error if FCM is not able to generate an instance.static intGOOGLEPLAYSERVICES_NOT_AVAILABLEThe Google Play Services are not available.static intINTERNAL_ERRORAn internal error has occurred.static intNETWORK_NOT_AVAILABLEThe network is not available.static intNOTIFICATION_INVALIDThe notification is invalid.static intNOTIFICATION_NULLThe notification is null.static intPERMISSION_NOT_GRANTEDRequired permission not granted, ask the user forandroid.Manifest.permission.POST_NOTIFICATIONSstatic intPROPERTIES_FILE_COLOR_CODE_ERRORThere is an error parsing notificationIconBackgroundColorLollipop provided in properties file.static intPROPERTIES_FILE_ERRORThere is an error with the properties file.static intPROPERTIES_FILE_IMAGE_SUFFIX_ERRORThere is an error with the image suffix in properties file.static intPROPERTIES_FILE_MIME_TYPE_ERRORThere is an error with the notificationMIMEType in properties file.static intPROPERTIES_FILE_NOTIFICATION_ICON_NAME_LOLLIPOP_NOT_FOUNDThe notificationIconNameLollipop provided in the properties file is not found.static intPROPERTIES_FILE_NOTIFICATION_ICON_NAME_NOT_FOUNDThe notificationIconName provided in the properties file is not found.static intVASCO_NOTIFICATION_IDENTIFIER_INCORRECT_FORMATThe VASCO notification identifier format is incorrect.static intVASCO_NOTIFICATION_IDENTIFIER_INVALIDThe VASCO notification identifier is invalid.static intVASCO_NOTIFICATION_IDENTIFIER_NULLThe VASCO notification identifier is null.
-
-
-
Field Detail
-
INTERNAL_ERROR
public static final int INTERNAL_ERROR
An internal error has occurred.- See Also:
- Constant Field Values
-
VASCO_NOTIFICATION_IDENTIFIER_INCORRECT_FORMAT
public static final int VASCO_NOTIFICATION_IDENTIFIER_INCORRECT_FORMAT
The VASCO notification identifier format is incorrect. It must be a hexadecimal string.- See Also:
- Constant Field Values
-
VASCO_NOTIFICATION_IDENTIFIER_NULL
public static final int VASCO_NOTIFICATION_IDENTIFIER_NULL
The VASCO notification identifier is null.- See Also:
- Constant Field Values
-
VASCO_NOTIFICATION_IDENTIFIER_INVALID
public static final int VASCO_NOTIFICATION_IDENTIFIER_INVALID
The VASCO notification identifier is invalid.- See Also:
- Constant Field Values
-
NOTIFICATION_NULL
public static final int NOTIFICATION_NULL
The notification is null.- See Also:
- Constant Field Values
-
NOTIFICATION_INVALID
public static final int NOTIFICATION_INVALID
The notification is invalid.- See Also:
- Constant Field Values
-
NETWORK_NOT_AVAILABLE
public static final int NETWORK_NOT_AVAILABLE
The network is not available.- See Also:
- Constant Field Values
-
CONTEXT_NULL
public static final int CONTEXT_NULL
The context parameter is null.- See Also:
- Constant Field Values
-
GOOGLEPLAYSERVICES_NOT_AVAILABLE
public static final int GOOGLEPLAYSERVICES_NOT_AVAILABLE
The Google Play Services are not available.- See Also:
- Constant Field Values
-
PROPERTIES_FILE_ERROR
public static final int PROPERTIES_FILE_ERROR
There is an error with the properties file.- See Also:
- Constant Field Values
-
FCM_GET_INSTANCE_ERROR
public static final int FCM_GET_INSTANCE_ERROR
There is an error if FCM is not able to generate an instance.- See Also:
- Constant Field Values
-
FCM_GENERATE_TOKEN_ERROR
public static final int FCM_GENERATE_TOKEN_ERROR
There is an error if FCM is not able to generate a token.- See Also:
- Constant Field Values
-
PROPERTIES_FILE_MIME_TYPE_ERROR
public static final int PROPERTIES_FILE_MIME_TYPE_ERROR
There is an error with the notificationMIMEType in properties file.- See Also:
- Constant Field Values
-
PROPERTIES_FILE_IMAGE_SUFFIX_ERROR
public static final int PROPERTIES_FILE_IMAGE_SUFFIX_ERROR
There is an error with the image suffix in properties file. Only .png type acceptable.- See Also:
- Constant Field Values
-
PROPERTIES_FILE_NOTIFICATION_ICON_NAME_NOT_FOUND
public static final int PROPERTIES_FILE_NOTIFICATION_ICON_NAME_NOT_FOUND
The notificationIconName provided in the properties file is not found.- See Also:
- Constant Field Values
-
PROPERTIES_FILE_NOTIFICATION_ICON_NAME_LOLLIPOP_NOT_FOUND
public static final int PROPERTIES_FILE_NOTIFICATION_ICON_NAME_LOLLIPOP_NOT_FOUND
The notificationIconNameLollipop provided in the properties file is not found.- See Also:
- Constant Field Values
-
PROPERTIES_FILE_COLOR_CODE_ERROR
public static final int PROPERTIES_FILE_COLOR_CODE_ERROR
There is an error parsing notificationIconBackgroundColorLollipop provided in properties file.- See Also:
- Constant Field Values
-
PERMISSION_NOT_GRANTED
public static final int PERMISSION_NOT_GRANTED
Required permission not granted, ask the user forandroid.Manifest.permission.POST_NOTIFICATIONS- See Also:
- Constant Field Values
-
-